<template>
  <div id="app">
    <router-view/>
    <div class="foot" v-if="$route.meta.flag">
        <ul>
            <li>
                <router-link to="/index">
                    <span class="iconfont icon-shouye"></span>
                    <span class="p">首页</span>
                </router-link>
            </li>
            <li>
                <router-link to="/brand">
                    <span class="iconfont icon-fensuijiicon06"></span>
                    <span>品牌</span>
                </router-link>
            </li>
            <li>
                <router-link to="/shop">
                    <span class="iconfont icon-gouwuche"></span>
                    <span>购物车</span>
                </router-link>
            </li>
            <li>
                <router-link to="/my">
                    <span class="iconfont icon-wode"></span>
                    <span>我的</span>
                </router-link>
            </li>
        </ul>
    </div>
  </div>
</template>

<style lang="less">
/* #app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
} */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#app{
    position: relative;
}
html{
    background: #F6F6F6;
    position: relative;
}
//底部导航
.foot{
    width: 100%;
    height: 50px;
    position: fixed;
    left: 0;
    bottom: 0;
    background: #fff;
    /* padding-top: 2%; */

}
.foot ul{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.053333rem;
}
.foot ul li{
    display: flex;
    width: 25%;
    height: 100%;
    justify-content: center;
}
/* .foot ul li{
    flex: 1;
} */
.foot ul li a{
    padding: 0 4%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.iconfont{
    font-size: 20px;
    /* font-weight: bold; */
    color: #000;
}
.foot ul li>a>span:last-child{
    color: #000;
    font-size: 12px;
}
</style>
<script>
export default {
    
}
</script>